<template>
  <el-container>
    <!-- header部分 -->
    <el-header>
      <navtop></navtop>
    </el-header>
    <el-container>
      <!-- 侧边栏部分 -->
      <leftNav></leftNav>
      <el-main>
        <div class="main">
          <Breadcrumb></Breadcrumb>
          <!-- main部分 -->
          <router-view/>
        </div>
      </el-main>
    </el-container>
  </el-container>
</template>

<script>

  import navtop from '@/components/NavTop.vue'
  import Breadcrumb from '@/components/Breadcrumb.vue'
  import leftNav from '@/components/Nav.vue'

  export default {
    components: {
      navtop,
      leftNav,
      Breadcrumb
    },
    data() {
      return {}
    },
    methods: {}
  }
</script>
<style>
  .el-main {
    background-color: #f5f5f5;
  }

  .main {
    height: 100%;
    width: 100%;
    background: #fff;
    /* padding: 0 20px 20px 20px; */
  }

  .main-content {
    background: #fff;
    height: calc(100% - 33px);
    /* height: 100%; */
    width: 100%;
    padding: 10px 20px;
    border-radius: 5px;
    box-sizing: border-box;
  }

  .el-header,
  .el-footer {
    background-color: rgb(0 36 70);
    /* background-color: white; */
    box-sizing: border-box;
    /* border-bottom: 1px solid #f5f1f1; */
  }

  .el-container {
    height: 100%;
  }

  .el-breadcrumb {
    /* background: #f5f5f5; */
    background: #f5f5f5;
    padding: 10px 20px;
    box-sizing: border-box;
  }

  .note-word {
    color: #999;
    font-size: 12px;
  }

  .content-div {
    padding-right: 50px;
  }
</style>
